﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Trades.aspx.cs" Inherits="PlugNT.Cms.Web.Trades" %>

<%@ Register Src="Control/Foot.ascx" TagName="Foot" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <% =PlugNT.Cms.Page.DataHelper.GetFile("/templet/include/_head2.htm")%>
    <link href="/Css/home.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/Js/jquery.js"></script>
    <script type="text/javascript" src="/Js/show.js"></script>
    <link href="Css/SupplyStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <% =PlugNT.Cms.Page.DataHelper.GetFile("/templet/include/_toper.htm")%>
    <div id="container2">
        <% =PlugNT.Cms.Page.DataHelper.GetFile("/templet/include/_top.htm")%>
        <!-----------search--------------->
        <div class="clear">
        </div>
        <div class="Crumbs">
            <ul>
                <li class="col4">所有类目 </li>
                <li class="result">共找到<span>
                    <%=this.TotalCount.ToString()%>
                </span>条
                    <h1>
                        <%=Request.QueryString["key"]!=null?Request.QueryString["key"].ToString():""%></h1>
                    采购信息 </li>
            </ul>
            <div class="clear">
            </div>
        </div>
        <!-----------当前位置------------------>
        <div class="clear">
        </div>
        <div class="qg_category">
            <dl class="fd-clr">
                <dt>所属行业：</dt>
                <dd>
                    <ul>
                        <li><a href="#" title="家居用品">家居用品</a>(55)</li>
                        <li><a href="#" title="纺织、皮革">纺织、皮革</a>(21)</li>
                        <li><a href="#" title="五金、工具">五金、工具</a>(11)</li>
                        <li><a href="#" title="安全、防护">安全、防护</a>(4)</li>
                        <li><a href="#" title="招商代理">招商代理</a>(1)</li>
                        <li><a href="#" title="玩具">玩具</a>(1)</li>
                        <li><a href="#" title="商务服务">商务服务</a>(1)</li>
                        <li><a href="#" title="包装">包装</a>(1)</li>
                        <li><a href="#" title="运动、休闲">运动、休闲</a>(1)</li>
                        <li><a href="#" title="礼品、工艺品、饰品">礼品、工艺品、...</a>(1)</li>
                        <li><a href="#" title="机械及行业设备">机械及行业设备</a>(1)</li>
                        <li><a href="#" title="建筑、建材">建筑、建材</a>(1)</li>
                        <li><a href="#" title="家用电器">家用电器</a>(1)</li>
                    </ul>
                </dd>
            </dl>
            <div class="clear">
            </div>
        </div>
        <!-------------品牌筛选----------------------->
        <div class="clear">
        </div>
        <div class="guide">
            <strong>您还可以找：</strong> <a href="#">红木家具厂</a> <a href="#">红木古典家具</a> <a href="#">红木家具批发</a>
            <a href="#">红木家具厂家</a> <a href="#">红木仿古家具</a> <a href="#">红木客厅家具</a> <a href="#">仙游红木古典家具</a>
        </div>
        <!-------------引导---------------->
        <div class="detail_list">
            <div class="content7">
                <div class="sx_box">
                    <select m_title="省份" name="show_province" id="province_slt" onchange="changeProvince(this);"
                        style="WIDTH: 80px;">
                        <option value="0" selected="selected">所有省份</option>
                        <option value="1">西藏</option>
                        <option value="2">湖南</option>
                        <option value="3">内蒙古</option>
                        <option value="4">浙江</option>
                        <option value="5">河南</option>
                        <option value="6">江苏</option>
                        <option value="7">香港</option>
                        <option value="8">北京</option>
                        <option value="9">河北</option>
                        <option value="10">澳门</option>
                        <option value="11">四川</option>
                        <option value="12">黑龙江</option>
                        <option value="13">湖北</option>
                        <option value="14">上海</option>
                        <option value="15">云南</option>
                        <option value="16">台湾</option>
                        <option value="17">青海</option>
                        <option value="18">宁夏</option>
                        <option value="19">新疆</option>
                        <option value="20">广西</option>
                        <option value="21">海南</option>
                        <option value="22">山西</option>
                        <option value="23">福建</option>
                        <option value="24">陕西</option>
                        <option value="25">安徽</option>
                        <option value="26">贵州</option>
                        <option value="27">重庆</option>
                        <option value="28">山东</option>
                        <option value="29">甘肃</option>
                        <option value="30">江西</option>
                        <option value="31">辽宁</option>
                        <option value="32">广东</option>
                        <option value="33">天津</option>
                        <option value="34">吉林</option>
                    </select>
                    <span>|</span>
                    <select m_title="城市" name="city" id="city_slt" onchange="changeCity(this);" style="WIDTH: 80px;">
                        <option value="0">所有城市</option>
                    </select>
                    <span>|</span>
                    <select onchange="changeBusinessType(this);" title="所有经营模式" name="biztype" id="biztype">
                        <option value="0">所有经营模式</option>
                        <option value="1">生产销售</option>
                        <option value="2">产品批发</option>
                        <option value="3">求购产品</option>
                    </select>
                    <span>|</span>
                    <select onchange="changePostTime(this);" value="0" title="所有更新时间" name="time_period"
                        id="time_period">
                        <option value="0" selected="">所有更新时间</option>
                        <option value="1">1天内新信息</option>
                        <option value="3">3天内新信息</option>
                        <option value="7">7天内新信息</option>
                        <option value="15">15天内新信息</option>
                        <option value="30">30天内新信息</option>
                    </select>
                </div>
                <div class="clear">
                </div>
                <%if (this.BuyList.Count > 0)
                  {
                      foreach (FJASPX.Domain.Buy model in this.BuyList)
                      {%>
                <div class="list">
                    <dl>
                        <dt></dt>
                        <dd class="titlelist">
                            <a href="#<%=model.Id%>">
                                <%=this.ReplaceTitle(model.Title)%></a>
                            <p>
                                <%=(string.IsNullOrEmpty(model.Remark)?"":FJASPX.Framwork.Helper.StringHelper.CutString(model.Remark,100))%></p>
                            <ul>
                                <li>价格说明：<%=model.PriceInfo%></li>
                                <li>采购数量：<%=model.Number%></li>
                            </ul>
                        </dd>
                        <dd>
                            <p>
                                <%=model.TimeStamp.ToShortDateString()%></p>
                        </dd>
                        <dd class="city">
                            <%=model.Address%></dd>
                        <dd class="contact">
                            <ul>
                                <li class="callme2"><a href="<%=model.Id%>">联系卖家</a></li>
                            </ul>
                        </dd>
                    </dl>
                </div>
                <%}
                  }
                  else
                  {
                      Response.Write("暂无搜索到结果!");

                  }%>
                <!--------------热门------------------------->
                <div class="clear">
                </div>
                <div class="pager">
                    <% int page = 1;
                       if (Request.QueryString["page"] != null)
                       {
                           page = Convert.ToInt32(Request.QueryString["page"]);
                       }%>
                    <%  
                        Response.Write(PlugNT.Cms.Page.DataHelper.GetPagination((int)this.TotalCount, 24, page, "Trades.aspx", "key=" + (string.IsNullOrEmpty(Request.QueryString["key"]) ? "" : Request.QueryString["key"].ToString()) + "&page",
                    "", false, false));%>
                </div>
            </div>
            <div id="sidebar">
                <div class="column">
                    <a href="#">
                        <img src="/images/ad.jpg" /></a>
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
        <div id="hot">
            <div class="hot_search-img">
                <div class="hot_header col4">
                    <a href="" class=" fr mr" style="PADDING-TOP: 6px; FONT-SIZE: 12px;">更多&gt;&gt;</a>
                    <h3 class="fl">
                        热门推荐</h3>
                </div>
                <ul class="hot_content2">
                    <%if (this.BuyList1.Count > 0)
                      {
                          foreach (FJASPX.Domain.Buy model in this.BuyList1)
                          {%>
                    <li class="">
                        <div class="pic">
                            <a href="<%=model.Id%>">
                                <img src="http://img.china.alibaba.com/img/ibank/2010/580/245/200542085_1216116862.search.jpg"></a></div>
                        <h3>
                            <a title="<%=model.Title%>" href="<%=model.Id%>">
                                <%=model.Title%>
                            </a>
                        </h3>
                        <p class="c6">
                            <%=model.PriceInfo%></p>
                    </li>
                    <%}
                      } %>
                </ul>
                <div class="clear">
                </div>
            </div>
        </div>
        <div class="clear">
        </div>
        <div class="MoreInfo">
            <div class="question">
                没有找到适合的买家？<a href="#">查看系统为您匹配的买家</a> 想获得更多的报价机会？<a href="#">丰富公司库信息</a> 找不到买家联系方式？<a
                    class="end" href="#">如何联系</a>
            </div>
            <div class="hotline">
                <a href="#">反馈采购速配问题</a> 想了解更多采购速配详情，<a class="end" href="#">点击进入&gt;&gt;</a>
            </div>
        </div>
    </div>
    <div class="clear">
    </div>
    <div class="out-footer">
        <div class="footer">
            <uc1:Foot ID="Foot1" runat="server" />
        </div>
    </div>
</body>
</html>
